/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
 *
 */

import { RequiredNamed } from "../options.js";

export namespace InsightIntentJson  {
  export interface InsightIntentObj {
    insightIntents: InsightIntent[];
  }

  // 用户态配置的属性接口
  export interface InsightIntent extends RequiredNamed {
    domain: string;
    intentName: string;
    intentVersion: string;
    srcEntry: string;
    uiAbility: UiAbility;
  }

  // 编译态处理的扩展属性
  export interface InsightIntent extends RequiredNamed {
    codeLanguage?: string;
  }

  export interface UiAbility extends RequiredNamed {
    ability: string;
    executeMode: string[];
  }
}
